package com.maxie.factory.abstractfactory.entity;

import com.maxie.factory.abstractfactory.entity.ingredient.entity.Egg;
import com.maxie.factory.abstractfactory.entity.ingredient.entity.Huotui;
import com.maxie.factory.abstractfactory.entity.ingredient.entity.Mianfen;

/**
 * pizza需要原料
 */
public abstract class Pizza {

    Mianfen mianfen;
    Huotui huotui;
    Egg egg;


    /**
     * 准备环节需要用到原料
     */
    public abstract void prepare();

    public void bake() {
        System.out.println("披萨烘烤中...");
    }

    public void cut() {

        System.out.println("披萨切块中...");
    }

    public void box() {

        System.out.println("披萨打包中...");
    }
}
